package com.zxl.controller;

import com.zxl.service.DaDevFlowExecutionServer;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("/flow/execution")
public class DaDevFlowExecutionController {

    @Resource
    private DaDevFlowExecutionServer daDevFlowExecutionServer;

    @RequestMapping("/execution/hive-sql")
    public void executionHiveSql() {
        daDevFlowExecutionServer.runHiveSql();
    }
}
